package com.catchegg.myrule;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author noreply
 * @description
 * @datetime 2021/11/3 20:21
 */
@Configuration
public class MySelfRule {
    @Bean
    public IRule getRule() {
        return new RandomRule();
    }
}
